package top.yxf.mapstruct.vo;

import lombok.Data;
import top.yxf.mapstruct.dto.CarDto;
import top.yxf.mapstruct.dto.HobbyDto;

import java.util.Date;
import java.util.List;

/**
 * @author zw
 */
public class UserVo {

    private Integer userId;

    private String userName;

    private String birth;

    private char sex;

    private boolean hasHobby;

    private CarVo carVo;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public boolean isHasHobby() {
        return hasHobby;
    }

    public void setHasHobby(boolean hasHobby) {
        this.hasHobby = hasHobby;
    }

    public CarVo getCarVo() {
        return carVo;
    }

    public void setCarVo(CarVo carVo) {
        this.carVo = carVo;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", birth='" + birth + '\'' +
                ", sex=" + sex +
                ", hasHobby=" + hasHobby +
                ", carVo=" + carVo +
                '}';
    }
}
